// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in all
// copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE.

$font-family-heading: {{ site.font_heading | default:"Roboto Slab, Helvetica, Arial, sans-serif" }};
$font-family:         {{ site.font         | default:"Noto Sans, Helvetica, Arial, sans-serif"   }};
$theme-color:         {{ site.theme_color  | default:'#193747' }};

@import "variables";
@import "my-variables";
@import "mixins";

@import "pooleparty/__inline__/base";
@import "pooleparty/__inline__/type";
@import "pooleparty/__inline__/table";
@import "pooleparty/__inline__/footer";
@import "pooleparty/__inline__/footnotes";
@import "pooleparty/__inline__/code";
@import "pooleparty/__inline__/posts";
@import "pooleparty/__inline__/related";
@import "pooleparty/__inline__/read-more";
@import "pooleparty/__inline__/message";
@import "pooleparty/__inline__/pagination";

@import "hydejack/__inline__/base";
@import "hydejack/__inline__/utilities";
@import "hydejack/__inline__/links";
@import "hydejack/__inline__/images";
@import "hydejack/__inline__/sidebar";
@import "hydejack/__inline__/social";
@import "hydejack/__inline__/menu";
@import "hydejack/__inline__/content";
@import "hydejack/__inline__/avatar";
@import "hydejack/__inline__/katex";
@import "hydejack/__inline__/footer";

@import "my-inline";

html { font-family: $font-family; }
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }

{% if site.hydejack.no_page_style %}
  {% assign color       = site.accent_color | default:'#4fb1ba' %}
  {% assign theme_color = site.theme_color  | default:'#193747' %}
  {% include styles/page-style.scss color=color theme_color=theme_color %}
{% endif %}